package com.rpframework.website.daole.domain;
//`id` int(11) NOT NULL AUTO_INCREMENT,
//`tel` varchar(22) COLLATE utf8_unicode_ci NOT NULL DEFAULT '' COMMENT '11位手机号码',
//`balance` double DEFAULT '0' COMMENT '余额',
//`userName` varchar(32) COLLATE utf8_unicode_ci DEFAULT NULL,
//`nickName` varchar(20) COLLATE utf8_unicode_ci DEFAULT '' COMMENT '昵称（最长10个汉字）',
//`realName` varchar(20) COLLATE utf8_unicode_ci NOT NULL DEFAULT '' COMMENT '真实姓名',
//`headImg` text COLLATE utf8_unicode_ci NOT NULL,
//`sign` varchar(255) COLLATE utf8_unicode_ci DEFAULT '' COMMENT '个人签名最长120字',
//`cardNo` varchar(50) COLLATE utf8_unicode_ci DEFAULT '' COMMENT '身份证号',
//`sex` tinyint(2) NOT NULL DEFAULT '1' COMMENT '默认 1女 2男',
//`roleType` tinyint(2) DEFAULT '0' COMMENT '用户角色',
//`password` varchar(32) COLLATE utf8_unicode_ci NOT NULL,
//`state` tinyint(2) NOT NULL DEFAULT '1' COMMENT '数据状态 默认1正常 2禁用',
//`createTime` int(11) NOT NULL DEFAULT '0',
//`modifyTime` int(11) DEFAULT NULL,
//`loginTime` int(11) DEFAULT NULL COMMENT '登录时间',
//`lastLoginTime` int(11) DEFAULT NULL COMMENT '最后登录时间',
//`loginIp` varchar(64) COLLATE utf8_unicode_ci DEFAULT '' COMMENT '登录IP',
//`lastLoginIp` varchar(64) COLLATE utf8_unicode_ci DEFAULT '' COMMENT '最后登录IP',
//`point` int(11) DEFAULT '0' COMMENT '积分',
//`job` varchar(20) COLLATE utf8_unicode_ci DEFAULT '程序设计',
//`marriage` int(2) DEFAULT '1' COMMENT '情感状态默认1未婚 2已婚',

//`readTime` int(11) DEFAULT NULL COMMENT '点击未读消息时间',
//`education` tinyint(1) DEFAULT NULL COMMENT '学历',
//`salary` tinyint(1) DEFAULT NULL COMMENT '月薪档位',
//`adress` varchar(100) COLLATE utf8_unicode_ci DEFAULT NULL COMMENT '家庭住址',
//`lecoin` int(11) DEFAULT NULL COMMENT '乐币',
//`cardFrontImgUrl` text COLLATE utf8_unicode_ci COMMENT '身份证正面照片',
//`cardBackImgUrl` text COLLATE utf8_unicode_ci COMMENT '身份证正面照片',
//`driverLicenseFrontImgUrl` text COLLATE utf8_unicode_ci COMMENT '驾驶证正面照片',
//`driverLicenseBackImgUrl` text COLLATE utf8_unicode_ci COMMENT '驾驶证背面照片',
//`driverLicenseNo` varchar(100) COLLATE utf8_unicode_ci DEFAULT NULL COMMENT '驾驶证号',
//`areaId` int(11) DEFAULT NULL COMMENT '所在市县外键',

import com.rpframework.core.Domain;
import com.rpframework.core.mybatis.plugin.annotation.FieldMapperAnnotation;
import com.rpframework.core.mybatis.plugin.annotation.TableMapperAnnotation;
import com.rpframework.core.mybatis.plugin.annotation.UniqueKeyType;

/**
 * 用户表
 * @author tian
 * @date 2016年3月24日 上午9:47:35
 */
@TableMapperAnnotation(tableName = "t_user", uniqueKeyType = UniqueKeyType.Single, uniqueKey = "id") 
public class User extends Domain {

	private static final long serialVersionUID = 4178996028162534134L;
	
	@FieldMapperAnnotation 
	Integer id; 
	
	/**
	 * 手机
	 */
	@FieldMapperAnnotation
	String contact; 
	
	/**
	 * 余额
	 */
	@FieldMapperAnnotation
	Double balance; 
	
	/**
	 * 用户名
	 */
	String userName; 
	
	/**
	 * 昵称
	 */
	@FieldMapperAnnotation
	String nickName; 
	
	/**
	 * 真名
	 */
	@FieldMapperAnnotation
	String realName; 
	
	/**
	 * 头像地址
	 */
	@FieldMapperAnnotation
	String headImgUrl; 
	
	/**
	 * 个性签名
	 */
	@FieldMapperAnnotation
	String sign; 
	
	/**
	 * 身份证号
	 */
	@FieldMapperAnnotation
	String cardNo; 
	
	/**
	 * 性别
	 */
	@FieldMapperAnnotation
	Integer sex;
	
	/**
	 * 用户角色
	 */
	@FieldMapperAnnotation
	Integer roleType;
	
	/**
	 * 密码
	 */
	@FieldMapperAnnotation
	String password;
	
	
	/**
	 * 状态
	 */
	@FieldMapperAnnotation
	Integer state;
	
	
	/**
	 * 
	 */
	@FieldMapperAnnotation
	Long createTime;
	
	
	/**
	 * 
	 */
	@FieldMapperAnnotation
	Long  modifyTime;
	
	
	/**
	 * 
	 */
	@FieldMapperAnnotation
	Long  loginTime;
	
	
	/**
	 * 最好登录时间
	 */
	@FieldMapperAnnotation
	Long lastLoginTime;
	
	
	/**
	 * 登录IP
	 */
	@FieldMapperAnnotation
	String loginIp;
	
	
	
	/**
	 * 最后登录IP
	 */
	@FieldMapperAnnotation
	String lastLoginIp;
	
	
	
	/**
	 * 积分
	 */
	@FieldMapperAnnotation
	Integer point;
	
	
	
	/**
	 * 工作
	 */
	@FieldMapperAnnotation
	String job;
	
	
	/**
	 * 是否已婚
	 */
	@FieldMapperAnnotation
	Integer marriage;
	
	
	/**
	 * 点击未读消息时间
	 */
	@FieldMapperAnnotation
	Long  readTime;
	
	
	/**
	 * 学历
	 */
	@FieldMapperAnnotation
	Integer education;
	
	
	/**
	 * 月薪档位
	 */
	@FieldMapperAnnotation
	Integer salary;
	
	
	/**
	 *家庭住址
	 */
	@FieldMapperAnnotation
	String adress;
	
	
	
	
	/**
	 *乐币
	 */
	@FieldMapperAnnotation
	Integer lecoin;
	
	/**
	 *身份证正面照片
	 */
	@FieldMapperAnnotation
	String cardFrontImgUrl;
	
	/**
	 *
	 */
	@FieldMapperAnnotation
	String cardBackImgUrl;
	
	/**
	 *驾驶证正面照片
	 */
	@FieldMapperAnnotation
	String driverLicenseFrontImgUrl;
	
	
	/**
	 *
	 */
	@FieldMapperAnnotation
	String driverLicenseBackImgUrl;
	
	
	/**
	 *驾驶证号
	 */
	@FieldMapperAnnotation
	String driverLicenseNo;
	
	
	/**
	 *所在市县外键
	 */
	@FieldMapperAnnotation
	Integer areaId;


	public Integer getId() {
		return id;
	}


	public void setId(Integer id) {
		this.id = id;
	}


	


	public String getContact() {
		return contact;
	}


	public void setContact(String contact) {
		this.contact = contact;
	}


	public Double getBalance() {
		return balance;
	}


	public void setBalance(Double balance) {
		this.balance = balance;
	}


	public String getUserName() {
		return userName;
	}


	public void setUserName(String userName) {
		this.userName = userName;
	}


	public String getNickName() {
		return nickName;
	}


	public void setNickName(String nickName) {
		this.nickName = nickName;
	}


	public String getRealName() {
		return realName;
	}


	public void setRealName(String realName) {
		this.realName = realName;
	}


	public String getHeadImgUrl() {
		return headImgUrl;
	}


	public void setHeadImgUrl(String headImgUrl) {
		this.headImgUrl = headImgUrl;
	}


	public String getSign() {
		return sign;
	}


	public void setSign(String sign) {
		this.sign = sign;
	}


	public String getCardNo() {
		return cardNo;
	}


	public void setCardNo(String cardNo) {
		this.cardNo = cardNo;
	}


	public Integer getSex() {
		return sex;
	}


	public void setSex(Integer sex) {
		this.sex = sex;
	}


	public Integer getRoleType() {
		return roleType;
	}


	public void setRoleType(Integer roleType) {
		this.roleType = roleType;
	}


	public String getPassword() {
		return password;
	}


	public void setPassword(String password) {
		this.password = password;
	}


	public Integer getState() {
		return state;
	}


	public void setState(Integer state) {
		this.state = state;
	}


	


	public String getLoginIp() {
		return loginIp;
	}


	public void setLoginIp(String loginIp) {
		this.loginIp = loginIp;
	}


	public String getLastLoginIp() {
		return lastLoginIp;
	}


	public void setLastLoginIp(String lastLoginIp) {
		this.lastLoginIp = lastLoginIp;
	}


	public Integer getPoint() {
		return point;
	}


	public void setPoint(Integer point) {
		this.point = point;
	}


	public String getJob() {
		return job;
	}


	public void setJob(String job) {
		this.job = job;
	}


	public Integer getMarriage() {
		return marriage;
	}


	public void setMarriage(Integer marriage) {
		this.marriage = marriage;
	}





	public Integer getEducation() {
		return education;
	}


	public void setEducation(Integer education) {
		this.education = education;
	}


	public Integer getSalary() {
		return salary;
	}


	public void setSalary(Integer salary) {
		this.salary = salary;
	}


	public String getAdress() {
		return adress;
	}


	public void setAdress(String adress) {
		this.adress = adress;
	}


	public Integer getLecoin() {
		return lecoin;
	}


	public void setLecoin(Integer lecoin) {
		this.lecoin = lecoin;
	}


	public String getCardFrontImgUrl() {
		return cardFrontImgUrl;
	}


	public void setCardFrontImgUrl(String cardFrontImgUrl) {
		this.cardFrontImgUrl = cardFrontImgUrl;
	}


	public String getCardBackImgUrl() {
		return cardBackImgUrl;
	}


	public void setCardBackImgUrl(String cardBackImgUrl) {
		this.cardBackImgUrl = cardBackImgUrl;
	}


	public String getDriverLicenseFrontImgUrl() {
		return driverLicenseFrontImgUrl;
	}


	public void setDriverLicenseFrontImgUrl(String driverLicenseFrontImgUrl) {
		this.driverLicenseFrontImgUrl = driverLicenseFrontImgUrl;
	}


	public String getDriverLicenseBackImgUrl() {
		return driverLicenseBackImgUrl;
	}


	public void setDriverLicenseBackImgUrl(String driverLicenseBackImgUrl) {
		this.driverLicenseBackImgUrl = driverLicenseBackImgUrl;
	}


	public String getDriverLicenseNo() {
		return driverLicenseNo;
	}


	public void setDriverLicenseNo(String driverLicenseNo) {
		this.driverLicenseNo = driverLicenseNo;
	}


	public Integer getAreaId() {
		return areaId;
	}


	public void setAreaId(Integer areaId) {
		this.areaId = areaId;
	}


	public static long getSerialversionuid() {
		return serialVersionUID;
	}


	public Long getCreateTime() {
		return createTime;
	}


	public void setCreateTime(Long createTime) {
		this.createTime = createTime;
	}


	public Long getModifyTime() {
		return modifyTime;
	}


	public void setModifyTime(Long modifyTime) {
		this.modifyTime = modifyTime;
	}


	public Long getLoginTime() {
		return loginTime;
	}


	public void setLoginTime(Long loginTime) {
		this.loginTime = loginTime;
	}


	public Long getReadTime() {
		return readTime;
	}


	public void setReadTime(Long readTime) {
		this.readTime = readTime;
	}


	public Long getLastLoginTime() {
		return lastLoginTime;
	}


	public void setLastLoginTime(Long lastLoginTime) {
		this.lastLoginTime = lastLoginTime;
	}
	
	
	
	
	
	
	
	
	

}
